package com.meritdata.cloud.data.javabean; /***********************************************************************
 * Module:  TD_TABLE_RELATION.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_TABLE_RELATION
 ***********************************************************************/

import java.util.*;

/** 关系元数据 */
public class TdTableRelation {
	/** ID:ID */
	private Long id;
	/** 起始表ID:SOURCE_TABLE_ID */
	private Long sourceTableId;
	/** 起始字段ID:SOURCE_COLUMN_ID */
	private Long sourceColumnId;
	/** 目标表ID:TARGET_TABLE_ID */
	private Long targetTableId;
	/** 目标字段ID:TARGET_COLUMN_ID */
	private Long targetColumnId;
	/**
	 * 11,1n,nn
	 * 
	 * 关联比例:RELATION
	 */
	private String relation;
	/**
	 * 用于连线上的显示
	 * 
	 * 关联描述:DESC
	 */
	private String desc;
	/** 创建时间:CREATE_TIME */
	private Date createTime;
	/** 修改时间:UPDATE_TIME */
	private Date updateTime;
	/** 创建人ID:CREATOR */
	private Long creator;
	/** 修改人ID:REVISER_ID */
	private Long reviserId;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getSourceTableId() {
		return sourceTableId;
	}
	public void setSourceTableId(Long sourceTableId) {
		this.sourceTableId = sourceTableId;
	}
	public Long getSourceColumnId() {
		return sourceColumnId;
	}
	public void setSourceColumnId(Long sourceColumnId) {
		this.sourceColumnId = sourceColumnId;
	}
	public Long getTargetTableId() {
		return targetTableId;
	}
	public void setTargetTableId(Long targetTableId) {
		this.targetTableId = targetTableId;
	}
	public Long getTargetColumnId() {
		return targetColumnId;
	}
	public void setTargetColumnId(Long targetColumnId) {
		this.targetColumnId = targetColumnId;
	}
	public String getRelation() {
		return relation;
	}
	public void setRelation(String relation) {
		this.relation = relation;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getCreator() {
		return creator;
	}
	public void setCreator(Long creator) {
		this.creator = creator;
	}
	public Long getReviserId() {
		return reviserId;
	}
	public void setReviserId(Long reviserId) {
		this.reviserId = reviserId;
	}


}